using DevExpress.XtraNavBar;
using DevExpress.XtraNavBar.ViewInfo;
using System;
namespace Extra
{
	public class SkinExplorerBarNavBarViewInfoEx : SkinExplorerBarNavBarViewInfo
	{
		public override bool AllowHideGroupCaptions
		{
			get
			{
				return true;
			}
		}
		public SkinExplorerBarNavBarViewInfoEx(NavBarControl navBar) : base(navBar)
		{
		}
		protected override int CalcGroupVertIndent(NavGroupInfoArgs groupInfo)
		{
			return 0;
		}
		protected override void UpdateScrollBar(int maxBottom, ref int savedY)
		{
			if (maxBottom < base.Client.Height)
			{
                maxBottom = base.Client.Height + 1;
			}
			base.UpdateScrollBar(maxBottom, ref savedY);
		}
	}
}
